package com.sss.hloster0308;

public class SalariedEmployee extends ColaEmployee {
	private float MonthlySalary;// 月薪

	public SalariedEmployee() {
		super();
	}
     Company c=new Company();
	public SalariedEmployee(String name, int birthday,float monthlySalary) {
		super(name, birthday);
		MonthlySalary = monthlySalary;
	}

	public  int  getSalary(int month) {
	    double msalary=MonthlySalary+super.getSalary(month);
	    c.print(name,msalary, month);
		return 0;
	}
}
